import request from '@/api/request';

interface IloginParams {
  token: string;
}

// 登录接口
export const login = (params: IloginParams) => request(
  '/user/login',
  {
    method: 'GET',
    params
  },
  {
    authorization: false
  }
)
